﻿namespace DbFrame.DbContext.MySql.Achieve
{
    using DbFrame.Core.Achieve;
    using global::MySql.Data.MySqlClient;
    using System.Data;

    public class MySqlAdoAchieve : AdoAchieve
    {

        public MySqlAdoAchieve(string ConnectionString)
            : base(ConnectionString)
        {

        }

        /// <summary>
        /// 数据库 连接对象
        /// </summary>
        /// <returns></returns>
        public override IDbConnection GetDbConnection()
        {
            return new MySqlConnection(this._ConnectionString);
        }


    }
}
